package com.chinapost.service;

import java.util.List;

import com.chinapost.po.Tmenu;
import com.chinapost.vo.Menu;
import com.chinapost.vo.Tree;



public interface MenuServiceI {
	public List<Tree> tree(Menu menu, Boolean b);

	/**
	 * 获得菜单treegrid
	 * 
	 * @param menu
	 * @return
	 */
	public List<Menu> treegrid(Menu menu);

	/**
	 * 删除菜单
	 * 
	 * @param menu
	 */
	public void delete(Menu menu);

	/**
	 * 添加菜单
	 * 
	 * @param menu
	 */
	public void add(Menu menu);

	public void edit(Menu menu);

	public List<Menu> tgrid(Menu menu, boolean b);

	public List<Tree> getUserMenus(Menu menu);

	public List<Tmenu> getMenusByUserId(Menu menu);

}
